/**
 * <p>Copyright:Copyright(c) 2019</p>
 * <p>Company:Professional</p>
 * <p>Package:com.cesgroup.zw.spring.boot.echarts.annular</p>
 * <p>File:SimpleAnnularEntity.java</p>
 * <p>类更新历史信息</p>
 * @todo chanlong(陈龙) 创建于 Jun 6, 2019 12:54:02 PM
 */
package com.cesgroup.zw.spring.boot.library.echarts.annular.simple;

import com.cesgroup.zw.spring.boot.charts.model.IChartsParam;
import com.cesgroup.zw.spring.boot.charts.model.IComponent;

import lombok.Builder;
import lombok.Data;

/**
 * <p>描述: </p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date Jun 6, 2019 12:54:02 PM
 * @version 1.0.2019
 */
@Data @Builder @SuppressWarnings("serial")
public class SimpleAnnularParam implements IChartsParam<SimpleAnnularSeries, Object[][]> {

	private String title;
	
	private String total;
	
	private Object[][] dataset;

	@Override
	public IComponent[] getSeries() {
		return new SimpleAnnularSeries[] {new SimpleAnnularSeries(this)};
	}
}
